package com.xitest.designpattern.template_adapter.adapter.loginadapter.v2.adapters;


import com.xitest.designpattern.template_adapter.adapter.loginadapter.ResultMsg;

public class LoginForQQAdapter implements LoginAdapter {
    public boolean support(Object adapter) {
        return adapter instanceof LoginForQQAdapter;
    }

    public ResultMsg login(String id, Object adapter) {
        return new ResultMsg(200,id + "QQ登录成功",null);
    }
}
